<!doctype html>
<html>
{include file="head.html"}

<body>
<div class="header">
    <div  class="left-btn pointer" onClick="window.location='/index.php'"><span class="iconfont icon-back"></span></div>
    <div class="title">商家管理中心</div>
     
  </div>
<style>
.shoptools .item a{display:block; height:40px; line-height:40px; margin:0px 5px; border-bottom:1px solid #eee;}
.ah span{display:inline-block;}
</style>
{get data=jhnum model=shop_order fun=getcount(" status=0 AND shopid=".SHOPID." ")}
        
		<div class="ah pd-5">  
        	<span>新订单： {$jhnum|intval}单 </span>
        	<span>今日订单： {$dayorder.ordernum|intval}单 </span>
            <span>今日收入： ￥{$dayorder.money|round:2} </span>
            <span>本月订单： {$monthorder.ordernum|intval}单 </span>
            <span>本月收入： ￥{$monthorder.money|round:2} </span>
        </div>
	<div class="shoptools">
    	
    	<div class="item"><a href="/index.php?m=shop&shopid={const.SHOPID}" target="_blank">查看店铺</a></div>
        <div class="item"><a href="{$appshop}?m=shop_order">订单管理</a></div>
      	<div class="item"><a href="{$appshop}?m=stat_shoporder_day">订单统计</a></div>
    	<div class="item"><a href="{$appshop}?m=shop">店铺编辑</a></div>
        <div class="item"><a href="{$appshop}?m=shop_category">产品分类</a></div>
        <div class="item" style="display:none"><a href="{$appshop}?m=tejia">特价促销</a></div>
        <div class="item"><a href="{$appshop}?m=shop_product">产品管理</a></div>
        <div class="item"><a href="{$appshop}?m=shop_product&a=add">产品添加</a></div>
        <div class="item"><a href="{$appshop}?m=shopadmin">账号管理</a></div>
        <div class="item"><a href="{$appshop}?m=login&a=logout">退出管理</a></div>
    </div>
{include file="footer.html"}
</body>
</html>
